<template>
  <u-modal v-model="show" width="70%">
    <view class="slot-content">
      <slot></slot>
    </view>
  </u-modal>
</template>

<script>
export default {
  name : 'index' ,
  data(){
    return {
      show:false,
    }
  },
  methods: {
    //打开
    openShow(){
      this.show =true
    },
    //关闭
    closeShow(){
      this.show = false
    }
  }
}
</script>

<style scoped>

</style>
